all: FormsTest.exe FormsMdi.exe FormsHello.exe CustomControl.exe ImageViewer.exe radiobuttons.exe text.exe

FormsTest.exe: FormsTest.cs
	mcs FormsTest.cs -debug \
		-resource:FormsTest.dotgnu.ico 		\
		-resource:FormsTest.small_folder.ico 	\
		-resource:FormsTest.small_text.ico 	\
		-resource:FormsTest.test.ico		\
		-resource:FormsTest.test\ 15bpp.bmp	\
		-resource:FormsTest.test\ 16bpp.bmp	\
		-resource:FormsTest.test\ 1bpp.bmp	\
		-resource:FormsTest.test\ 4bpp.bmp	\
		-resource:FormsTest.test\ 8bpp.bmp	\
		-resource:FormsTest.test.bmp		\
		-r:System.Windows.Forms.dll 		\
		-r:System.Drawing.dll

FormsMdi.exe: FormsMdi.cs
	mcs FormsMdi.cs -debug -r:System.Windows.Forms.dll -r:System.Drawing.dll

FormsHello.exe: FormsHello.cs
	mcs FormsHello.cs -debug -r:System.Windows.Forms.dll -r:System.Drawing.dll

CustomControl.exe: CustomControl.cs
	mcs CustomControl.cs -debug -r:System.Windows.Forms.dll -r:System.Drawing.dll

ImageViewer.exe: ImageViewer.cs
	mcs ImageViewer.cs -debug -r:System.Windows.Forms.dll -r:System.Drawing.dll

radiobuttons.exe: radiobuttons.cs
	mcs radiobuttons.cs -debug -r:System.Windows.Forms.dll -r:System.Drawing.dll

text.exe: text.cs
	mcs text.cs -debug -r:System.Windows.Forms.dll

clean: 
	rm -f FormsTest.exe
	rm -f FormsMdi.exe
	rm -f FormsHello.exe
	rm -f CustomControl.exe
	rm -f ImageViewer.exe
	rm -f radiobuttons.exe
	rm -f text.exe
